<html>
<body>
Reports an <code>if</code> expression that checks variable being null or not right after initializing it that can be converted into an elvis operator in the initializer.
<p><b>Example:</b></p>
<pre><code>
  fun test(foo: Int?, bar: Int): Int {
      var i = foo
      if (i == null) {
          return bar
      }
      return i
  }
</code></pre>
<p>The quick-fix converts the <code>if</code> expression with an initializer into an elvis expression:</p>
<pre><code>
  fun test(foo: Int?, bar: Int): Int {
      var i = foo ?: return bar
      return i
  }
</code></pre>
</body>
</html>
